home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Arashi 1.1.1 / source code / Game Source / (F⁄X) / Squeezemain.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-09  |  620 b   |  37 lines  |  [TEXT/KAHL]

  1. /*/
  2.      Project Arashi: Squeezemain.c
  3.      Major release: Version 1.1d2, 9/5/95
  4.  
  5.      Last modification: Wednesday, September 9, 1992, 21:42
  6.      Created: Saturday, October 6, 1990, 1:16
  7.  
  8.      Copyright © 1990-1992, Juri Munkki
  9. /*/
  10.  
  11. #include "Shuddup.h"
  12.  
  13. #define    COMPRESS
  14. void    main()
  15. {
  16.     int        i;
  17.     long    ticker;
  18.     
  19.     DoInits();
  20.     SetPort(GetNewWindow(1000,0,-1));
  21. #ifdef    COMPRESS
  22.     OpenResFile("\P STORM.rsrc");
  23.     DoCompress();
  24. #else
  25.     ticker=TickCount();
  26.     InitSoundKit();
  27.     ticker=TickCount()-ticker;
  28.     SKVolume(8);
  29.     
  30.     for(i=0;i<NumSounds;i++)
  31.     {    PlayA(i,999);
  32.         while(!Button());
  33.         while(Button());
  34.     }
  35.     CloseSoundKit();
  36. #endif
  37. }